<template>
    <div>
        <!-- <el-button style="margin: 20px;" type="primary" @click="onOpentShop">打开物料商城</el-button> -->
    </div>
</template>

<script setup lang="ts" name="partShop">
import { onMounted } from "vue"
import { useRouter } from "vue-router";

const router = useRouter()


const onOpentShop = () => {
    // const url = router.resolve({
    //     path: 'https://yxtk.zhxlfd.com/login?token=7JJnJxMBNvVBXkPhyCwja_mxfqRARAsQLcUI3mLwr8Cbf7v8hRcQOIjUFv328Z53rHgevQas4r6Pf1e',
    //     query: {}
    // })
    window.open('https://yxtk.zhxlfd.com/login?token=7JJnJxMBNvVBXkPhyCwja_mxfqRARAsQLcUI3mLwr8Cbf7v8hRcQOIjUFv328Z53rHgevQas4r6Pf1e', '_blank')
}

onMounted(() => {
    onOpentShop()
})

</script>

<style lang="scss" scoped>
</style>